package MainApplication;
import java.util.Calendar;
import java.text.SimpleDateFormat;

public class DateUtils {
	public DateUtils(){
		
	}
	
	public static String now(String dateFormat) {
	    Calendar cal = Calendar.getInstance();
		SimpleDateFormat sdf = new SimpleDateFormat(dateFormat);
		
		return sdf.format(cal.getTime());

	}
}
